<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>cute-transfer: E:/CODE/CPPpro/cute-transfer/Msg&amp;FileTransfer/conFile.h源文件</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body onload='searchBox.OnSelectItem(0);'>
<!-- 制作者 Doxygen 1.7.4 -->
<script type="text/javascript"><!--
var searchBox = new SearchBox("searchBox", "search",false,'搜索');
--></script>
<div id="top">
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">cute-transfer</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>首页</span></a></li>
      <li><a href="annotated.html"><span>类</span></a></li>
      <li class="current"><a href="files.html"><span>文件</span></a></li>
      <li id="searchli">
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="搜索" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>文件列表</span></a></li>
    </ul>
  </div>
<div class="header">
  <div class="headertitle">
<div class="title">E:/CODE/CPPpro/cute-transfer/Msg&amp;FileTransfer/conFile.h</div>  </div>
</div>
<div class="contents">
<div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 
<a name="l00015"></a>00015 <span class="preprocessor">#ifndef SR_FILE_H_INCLUDED</span>
<a name="l00016"></a>00016 <span class="preprocessor"></span><span class="preprocessor">#define SR_FILE_H_INCLUDED</span>
<a name="l00017"></a>00017 <span class="preprocessor"></span><span class="preprocessor">#include &lt;string&gt;</span>
<a name="l00018"></a>00018 
<a name="l00020"></a><a class="code" href="struct_____file_info.html">00020</a> <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="struct_____file_info.html" title="文件状态结构体">__FileInfo</a>{
<a name="l00021"></a>00021 
<a name="l00023"></a><a class="code" href="struct_____file_info.html#afd013ee34579aa8be1d02f79eb739213">00023</a>     <span class="keywordtype">char</span> <a class="code" href="struct_____file_info.html#afd013ee34579aa8be1d02f79eb739213" title="文件路径">pathname</a>[256];
<a name="l00024"></a>00024 
<a name="l00026"></a><a class="code" href="struct_____file_info.html#a49d670a0843536d2511331bf5541078f">00026</a>     <span class="keywordtype">char</span> <a class="code" href="struct_____file_info.html#a49d670a0843536d2511331bf5541078f" title="文件名">filename</a>[20];
<a name="l00027"></a>00027 
<a name="l00029"></a><a class="code" href="struct_____file_info.html#a9bad79b8b662776226c4568ebee8d83f">00029</a>     <span class="keywordtype">long</span> <a class="code" href="struct_____file_info.html#a9bad79b8b662776226c4568ebee8d83f" title="文件长度">filesize</a>;
<a name="l00030"></a>00030 
<a name="l00032"></a><a class="code" href="struct_____file_info.html#af42691041ff4ec44beea4fb24ce95262">00032</a>     <span class="keywordtype">int</span> <a class="code" href="struct_____file_info.html#af42691041ff4ec44beea4fb24ce95262" title="文件索引">fileKey</a>;
<a name="l00033"></a>00033 
<a name="l00035"></a><a class="code" href="struct_____file_info.html#ae50e076d989ba6093acd43c499583c44">00035</a>     <span class="keywordtype">char</span> <a class="code" href="classmd5.html">md5</a>[32 + 1];
<a name="l00036"></a>00036 } <a class="code" href="struct_____file_info.html" title="文件状态结构体">FileInfo</a>;
<a name="l00037"></a>00037 
<a name="l00039"></a><a class="code" href="struct_____file_content.html">00039</a> <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="struct_____file_content.html" title="文件内容结构体">__FileContent</a>{
<a name="l00040"></a>00040 
<a name="l00042"></a><a class="code" href="struct_____file_content.html#a8f32fdc4102741f8c716bc01894f0cad">00042</a>     <span class="keywordtype">int</span> <a class="code" href="struct_____file_content.html#a8f32fdc4102741f8c716bc01894f0cad" title="文件索引">key</a>;
<a name="l00043"></a>00043 
<a name="l00045"></a><a class="code" href="struct_____file_content.html#a3b3e04bf39c2b9df99415a760f7554cd">00045</a>     <span class="keywordtype">int</span> <a class="code" href="struct_____file_content.html#a3b3e04bf39c2b9df99415a760f7554cd" title="文件内容长度">len</a>;
<a name="l00046"></a>00046 
<a name="l00048"></a><a class="code" href="struct_____file_content.html#aa7cc1ad93c26054b01404759fd7e74db">00048</a>     <span class="keywordtype">char</span> <a class="code" href="struct_____file_content.html#aa7cc1ad93c26054b01404759fd7e74db" title="文件内容">content</a>[4096];
<a name="l00049"></a>00049 } <a class="code" href="struct_____file_content.html" title="文件内容结构体">FileCon</a>;
<a name="l00050"></a>00050 
<a name="l00051"></a>00051 
<a name="l00052"></a>00052 
<a name="l00054"></a><a class="code" href="struct_____file_status.html">00054</a> <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="struct_____file_status.html" title="文件状态结构体">__FileStatus</a>{
<a name="l00055"></a>00055 
<a name="l00057"></a><a class="code" href="struct_____file_status.html#a08fa7678c518f89cadb8eeb6a81b3099">00057</a>     <span class="keyword">enum</span> <a class="code" href="struct_____file_status.html#a08fa7678c518f89cadb8eeb6a81b3099" title="文件状态列表">__enumFileStatus</a>{
<a name="l00058"></a><a class="code" href="struct_____file_status.html#a08fa7678c518f89cadb8eeb6a81b3099aeab63ded52df323464a057a62f9b829c">00058</a>         <a class="code" href="struct_____file_status.html#a08fa7678c518f89cadb8eeb6a81b3099aeab63ded52df323464a057a62f9b829c">FS_FILE_WAIT</a> = 0,   
<a name="l00059"></a><a class="code" href="struct_____file_status.html#a08fa7678c518f89cadb8eeb6a81b3099a3878fe8efa2b78474473ef73051990a1">00059</a>         <a class="code" href="struct_____file_status.html#a08fa7678c518f89cadb8eeb6a81b3099a3878fe8efa2b78474473ef73051990a1">FS_FILE_WAITFORSEND</a>,
<a name="l00060"></a><a class="code" href="struct_____file_status.html#a08fa7678c518f89cadb8eeb6a81b3099ad460fbd2d1cd884bc1ffbd59ad2f280d">00060</a>         <a class="code" href="struct_____file_status.html#a08fa7678c518f89cadb8eeb6a81b3099ad460fbd2d1cd884bc1ffbd59ad2f280d">FS_FILE_SENDING</a>,    
<a name="l00061"></a><a class="code" href="struct_____file_status.html#a08fa7678c518f89cadb8eeb6a81b3099a34b927aee8299317df7ace8f5a334063">00061</a>         <a class="code" href="struct_____file_status.html#a08fa7678c518f89cadb8eeb6a81b3099a34b927aee8299317df7ace8f5a334063">FS_FILE_CANCEL</a>,     
<a name="l00062"></a><a class="code" href="struct_____file_status.html#a08fa7678c518f89cadb8eeb6a81b3099ad2f2edf97f79c2e2dba315ca355e5a6d">00062</a>         <a class="code" href="struct_____file_status.html#a08fa7678c518f89cadb8eeb6a81b3099ad2f2edf97f79c2e2dba315ca355e5a6d">FS_FILE_CLOSE</a>,      
<a name="l00063"></a><a class="code" href="struct_____file_status.html#a08fa7678c518f89cadb8eeb6a81b3099add1f6c511ae8d273179e4bcc4cd3e30e">00063</a>         <a class="code" href="struct_____file_status.html#a08fa7678c518f89cadb8eeb6a81b3099add1f6c511ae8d273179e4bcc4cd3e30e">FS_FILE_END</a>         
<a name="l00064"></a>00064     };
<a name="l00065"></a>00065 
<a name="l00067"></a><a class="code" href="struct_____file_status.html#a910ae581739e54c23b767514a0accb6e">00067</a>     <span class="keyword">enum</span> <a class="code" href="struct_____file_status.html#a910ae581739e54c23b767514a0accb6e" title="文件发送方向列表">__FileDirection</a>{
<a name="l00068"></a><a class="code" href="struct_____file_status.html#a910ae581739e54c23b767514a0accb6ea3c2b1a7d5f4bb0e00f91c6bf757511e6">00068</a>         <a class="code" href="struct_____file_status.html#a910ae581739e54c23b767514a0accb6ea3c2b1a7d5f4bb0e00f91c6bf757511e6">FD_FILE_SEND</a> = 0,   
<a name="l00069"></a><a class="code" href="struct_____file_status.html#a910ae581739e54c23b767514a0accb6eabb3fd212996129842ee0e9455aefe1b6">00069</a>         <a class="code" href="struct_____file_status.html#a910ae581739e54c23b767514a0accb6eabb3fd212996129842ee0e9455aefe1b6">FD_FILE_RECV</a>        
<a name="l00070"></a>00070     };
<a name="l00071"></a>00071 
<a name="l00075"></a><a class="code" href="struct_____file_status.html#ad5fe0b05e15b520618cc0cd047a2494b">00075</a>     FILE *<a class="code" href="struct_____file_status.html#ad5fe0b05e15b520618cc0cd047a2494b">pFILE</a>;
<a name="l00076"></a>00076 
<a name="l00081"></a><a class="code" href="struct_____file_status.html#ad2e7d4d5b2755039c7cd85f59e02728f">00081</a>     <span class="keywordtype">int</span> <a class="code" href="struct_____file_status.html#ad2e7d4d5b2755039c7cd85f59e02728f">status</a>;
<a name="l00082"></a>00082 
<a name="l00087"></a><a class="code" href="struct_____file_status.html#a70bada49e3799948e05607178f5dfa59">00087</a>     <span class="keywordtype">int</span> <a class="code" href="struct_____file_status.html#a70bada49e3799948e05607178f5dfa59">direction</a>;
<a name="l00088"></a>00088 
<a name="l00093"></a><a class="code" href="struct_____file_status.html#acbd983ac720292ec551a5269b1a3ec1d">00093</a>     <a class="code" href="struct_____file_info.html" title="文件状态结构体">FileInfo</a> <a class="code" href="struct_____file_status.html#acbd983ac720292ec551a5269b1a3ec1d">fileInfo</a>;
<a name="l00094"></a>00094 
<a name="l00098"></a><a class="code" href="struct_____file_status.html#aa7327395c90bac579b66223c8aceddf4">00098</a>     <span class="keywordtype">long</span> <a class="code" href="struct_____file_status.html#aa7327395c90bac579b66223c8aceddf4">curSize</a>;
<a name="l00099"></a>00099 } <a class="code" href="struct_____file_status.html" title="文件状态结构体">FileStatus</a>;
<a name="l00100"></a>00100 
<a name="l00101"></a>00101 
<a name="l00102"></a>00102 <span class="preprocessor">#endif // SR_FILE_H_INCLUDED</span>
</pre></div></div>
</div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>全部</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>类</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>函数</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>变量</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>类型定义</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>枚举</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>枚举值</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<hr class="footer"/><address class="footer"><small>Generated at 2011年七月8日 星期五 15:50:01 for cute-transfer by&#160;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.4 </small></address>
</body>
</html>
